Raspberry Pi Server Essentials by Raspberry Pi Server Essentials
Author:Raspberry Pi Server Essentials
Language: eng
Format: epub
Publisher: Packt Publishing
We need to update the nginx virtual host's configuration file now to tell nginx how to handle PHP requests. This time, you need to restart nginx after you save the file.
server { listen 80; root /var/www/local/web; index index.php index.html index.htm; location ~ \.php$ { fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_index index.php; include fastcgi_params; } }
Create a new file named info.php in /var/www /local/web/ and add these simple lines to it:
<?php phpinfo(); ?>
Save the file and navigate to it in your browser.
You should see something similar to the preceding screenshot. This means that PHP is configured and you can use any PHP web application or write your own PHP scripts now.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Deep Learning with Python by François Chollet(12632)
Hello! Python by Anthony Briggs(9946)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9818)
The Mikado Method by Ola Ellnestam Daniel Brolund(9810)
A Developer's Guide to Building Resilient Cloud Applications with Azure by Hamida Rebai Trabelsi(9617)
Dependency Injection in .NET by Mark Seemann(9367)
Hit Refresh by Satya Nadella(8850)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8331)
The Kubernetes Operator Framework Book by Michael Dame(7880)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7808)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7787)
Grails in Action by Glen Smith Peter Ledbrook(7719)
Exploring Deepfakes by Bryan Lyon and Matt Tora(7662)
Practical Computer Architecture with Python and ARM by Alan Clements(7600)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7590)
Implementing Enterprise Observability for Success by Manisha Agrawal and Karun Krishnannair(7571)
Robo-Advisor with Python by Aki Ranin(7556)
Building Low Latency Applications with C++ by Sourav Ghosh(7442)
Svelte with Test-Driven Development by Daniel Irvine(7421)
